package com.yipao.db.domain.goods.vo.formula;

import com.yipao.db.domain.goods.vo.BaseReq;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 商品配方查询请求对象
 *
 * @author tianhao
 * @date 2020/5/2 13:39
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class GoodsFormulaReq extends BaseReq {
    /**
     * 商品名称
     */
    private String goodsName;


    public GoodsFormulaReq(String goodsName, Integer page, Integer limit, String sort, String ord, Integer deleted) {
        this.goodsName = goodsName;
        super.setPage(page);
        super.setLimit(limit);
        super.setSort(sort);
        super.setOrd(ord);
        super.setDeleted(deleted);
    }
}
